package org.jianfa.mq.seckill.mapper;

import java.util.List;
import org.jianfa.mq.seckill.entity.po.OrderInfo;

public interface OrderInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OrderInfo record);

    OrderInfo selectByPrimaryKey(Long id);

    List<OrderInfo> selectAll();

    int updateByPrimaryKey(OrderInfo record);

    List<OrderInfo> selectByUserId(Long userId);
}